package org.alternativedev.wo42.gameobjects.spells;

import org.alternativedev.wo42.gameobjects.Spell;
import org.newdawn.slick.Image;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.SpriteSheet;

public class SpellFireball extends Spell {
private static String imagePathString = "data/spells/fireball.png";
	public SpellFireball() throws SlickException {
		super(new Image[] {
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(0, 2),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(1, 2),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(2, 2),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(3, 2),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(4, 2),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(5, 2),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(6, 2),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(7, 2) }, new Image[] {
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(0, 6),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(1, 6),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(2, 6),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(3, 6),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(4, 6),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(5, 6),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(6, 6),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(7, 6) }, new Image[] {
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(0, 0),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(1, 0),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(2, 0),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(3, 0),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(4, 0),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(5, 0),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(6, 0),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(7, 0) }, new Image[] {
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(0, 4),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(1, 4),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(2, 4),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(3, 4),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(4, 4),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(5, 4),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(6, 4),
				new SpriteSheet(new Image(imagePathString), 64, 64)
						.getSubImage(7, 4) }, new int[] { 100, 100, 100, 100,
				100, 100, 100, 100 });
	}
	@Override
	public int getManaNeeds() {
		// TODO Auto-generated method stub
		return 15;
	}
}
